home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presentation Library 1993 Winter / The Apple Reference & Presentations Library CD Winter 93 - Partner Edition.7z / Image.iso / Applications / Technical Publishing / Aldus PageMaker 4.2 / Aldus / PPDs / HPIID522.PPD < prev    next >
Text File  |  1991-12-05  |  13KB  |  389 lines

  1. *% Adobe Systems PostScript(R) Printer Description File
  2. *% For "HP LaserJet IID" version 52.2
  3. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  4. *%
  5. *% Copyright 1988, 1989, 1990, 1991 Adobe Systems Incorporated.  
  6. *% All Rights Reserved.
  7. *% Permission is granted for redistribution of this file as
  8. *% long as this copyright notice is intact and the contents
  9. *% of the file is not altered in any way from its original form.
  10. *%
  11. *% The byte count of this file should be exactly 012851 or 013239
  12. *% depending on the filesystem it resides in.
  13. *%
  14. *% Date: 20 May 1991 
  15. *FormatVersion: "3.0"
  16. *FileVersion: "1.4"
  17. *LanguageVersion: English
  18.  
  19. *Product: "(HP LaserJet IID)"
  20. *PSVersion: "(52.2) 0"
  21. *NickName: "HP LaserJet IID PostScript v52.2"
  22.  
  23. *% General Information and Defaults ===============
  24. *FreeVM: "1755048"
  25. *ColorDevice: False
  26. *VariablePaperSize: False
  27. *FileSystem: False
  28. *?FileSystem: "save /initializedisk where{pop(True)}{(False)} ifelse = flush restore"
  29. *Throughput: "8"
  30. *Password: "0"
  31. *ExitServer: "
  32.   count 0 eq {  % is the password on the stack?
  33.     true 
  34.   }{
  35.     dup    % potential password
  36.     statusdict begin checkpassword end not 
  37.   } ifelse 
  38.   {  %  if no password or not valid 
  39.     (WARNING : Cannot perform the exitserver command.) = 
  40.     (Password supplied is not valid.) = 
  41.     (Please contact the author of this software.) = flush
  42.     quit 
  43.   } if 
  44.   serverdict begin exitserver
  45. "
  46. *End
  47. *Reset: "
  48.   count 0 eq {  % is the password on the stack?
  49.     true 
  50.   }{
  51.     dup    % potential password
  52.     statusdict begin checkpassword end not 
  53.   } ifelse 
  54.   {  %  if no password or not valid 
  55.     (WARNING : Cannot reset printer.) = 
  56.     (Password supplied is not valid.) = 
  57.     (Please contact the author of this software.) = flush
  58.     quit 
  59.   } if 
  60.   serverdict begin exitserver
  61.   systemdict /quit get exec
  62.   (WARNING : Printer Reset Failed.) = flush
  63. "
  64. *End
  65.  
  66. *DefaultResolution: 300dpi
  67. *?Resolution: "
  68. save
  69.   initgraphics
  70.   0 0 moveto currentpoint matrix defaultmatrix transform
  71.   0 72 lineto currentpoint matrix defaultmatrix transform
  72.   3 -1 roll sub dup mul
  73.   3 1 roll exch sub dup mul
  74.   add sqrt round cvi
  75.   (          ) cvs print (dpi) = flush
  76. restore
  77. "
  78. *End
  79.  
  80.  
  81. *% Halftone Information ===============
  82. *ScreenFreq: "60.0"
  83. *ScreenAngle: "45.0"
  84. *DefaultScreenProc: Dot
  85. *ScreenProc Dot: "
  86. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1 
  87. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  88. "
  89. *End
  90. *ScreenProc Line: "{ pop }"
  91. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 
  92. 1 exch sub }"
  93. *End
  94.  
  95. *DefaultTransfer: Null
  96. *Transfer Null: "{ }"
  97. *Transfer Null.Inverse: "{ 1 exch sub }"
  98.  
  99. *% Paper Handling ===================
  100.  
  101. *% Use these entries to set paper size most of the time, unless there is
  102. *% specific reason to use PageRegion or PaperTray.
  103. *DefaultPageSize: Letter
  104. *PageSize Letter: "statusdict begin lettertray end"
  105. *PageSize Legal: "statusdict begin legaltray end"
  106. *PageSize Executive: "statusdict begin executivetray end"
  107. *PageSize A4: "statusdict begin a4tray end"
  108. *PageSize Envelope.297.684/Comm #10 Envelope: "
  109. statusdict begin com10envelopetray end"
  110. *End
  111. *PageSize Envelope.279.540/Monarch Envelope: "
  112. statusdict begin monarcenvelopetray end"
  113. *End
  114. *PageSize Envelope.312.624/DL Envelope: "statusdict begin dlenvelopetray end"
  115. *PageSize Envelope.459.649/C5 Envelope: "statusdict begin c5envelopetray end"
  116. *?PageSize: "
  117.  save statusdict begin
  118.   8 dict begin
  119.    /lettertray (Letter) def /legaltray (Legal) def
  120.    /executivetray (Executive) def /a4tray (A4) def
  121.    /com10envelopetray (Envelope.297.684/Comm #10 Envelope) def
  122.    /monarcenvelopetray (Envelope.279.540/Monarch Envelope) def 
  123.    /dlenvelopetray (Envelope.312.624/DL Envelope) def
  124.    /c5envelopetray (Envelope.459.649/C5 Envelope) def
  125.    papersize {
  126.      {load exec} stopped not{= flush}if
  127.    }{
  128.      {load exec} stopped not{print (.Transverse) = flush}
  129.      {(Unknown) = flush}ifelse
  130.    }ifelse
  131.   end
  132.  end restore
  133. "
  134. *End
  135.  
  136. *% These entries will set up the frame buffer. Usually used with manual feed.
  137. *DefaultPageRegion: Letter
  138. *PageRegion Letter: "letter"
  139. *PageRegion Legal: "legal"
  140. *PageRegion Executive: "executivepage"
  141. *PageRegion A4: "a4"
  142. *PageRegion B5: "b5"
  143. *PageRegion Envelope.297.684/Comm #10 Envelope: "com10envelope"
  144. *PageRegion Envelope.279.540/Monarch Envelope: "monarcenvelope"
  145. *PageRegion Envelope.312.624/DL Envelope: "dlenvelope"
  146. *PageRegion Envelope.459.649/C5 Envelope: "c5envelope"
  147.  
  148. *% These entries will invoke a particular tray--error may occur if tray 
  149. *% is not inserted.
  150. *% These errors should be trapped by software and a message displayed
  151. *DefaultPaperTray: None
  152. *PaperTray Letter: "statusdict begin lettertray end"
  153. *PaperTray Legal: "statusdict begin legaltray end"
  154. *PaperTray Executive: "statusdict begin executivetray end"
  155. *PaperTray A4: "statusdict begin a4tray end"
  156. *PaperTray Envelope.297.684/Comm #10 Envelope: "
  157. statusdict begin com10envelopetray end"
  158. *End
  159. *PaperTray Envelope.279.540/Monarch Envelope: "
  160. statusdict begin monarcenvelopetray end"
  161. *End
  162. *PaperTray Envelope.312.624/DL Envelope: "statusdict begin dlenvelopetray end"
  163. *PaperTray Envelope.459.649/C5 Envelope: "statusdict begin c5envelopetray end"
  164. *?PaperTray: "
  165.  save statusdict begin
  166.   8 dict begin
  167.    /lettertray (Letter) def /legaltray (Legal) def
  168.    /executivetray (Executive) def /a4tray (A4) def
  169.    /com10envelopetray (Envelope.297.684/Comm #10 Envelope) def
  170.    /monarcenvelopetray (Envelope.279.540/Monarch Envelope) def
  171.    /dlenvelopetray (Envelope.312.624/DL Envelope) def
  172.    /c5envelopetray (Envelope.459.649/C5 Envelope) def
  173.    papersize {
  174.      {load exec} stopped not{= flush}if
  175.    }{
  176.      {load exec} stopped not{print (.Transverse) = flush}if
  177.    }ifelse
  178.   end
  179.  end restore
  180. "
  181. *End
  182.  
  183. *% The following entries provide information about specific paper keywords.
  184. *DefaultImageableArea: Letter
  185. *ImageableArea Letter: "18 19 593 774 "
  186. *ImageableArea Legal: "18 19 593 990 "
  187. *ImageableArea Executive: "18 19 501 738 "
  188. *ImageableArea A4: "18 19 578 824 "
  189. *ImageableArea B5: "18 19 505 513 "
  190. *ImageableArea Envelope.297.684/Comm #10 Envelope: "18 19 278 666 "
  191. *ImageableArea Envelope.279.540/Monarch Envelope: "18 19 259 522 "
  192. *ImageableArea Envelope.312.624/DL Envelope: "18 19 294 605 "
  193. *ImageableArea Envelope.459.649/C5 Envelope: "18 19 440 630 "
  194. *?ImageableArea: "
  195.  save /cvp { cvi (            ) cvs print ( ) print } bind def
  196.   newpath clippath pathbbox
  197.   4 -2 roll exch 2 {ceiling cvp} repeat
  198.   exch 2 {floor cvp} repeat flush
  199.  restore
  200. "
  201. *End
  202.  
  203.  
  204. *% These provide the physical dimensions of the paper (by keyword)
  205. *DefaultPaperDimension: Letter
  206. *PaperDimension Letter: "612 792"
  207. *PaperDimension Legal: "612 1008"
  208. *PaperDimension Executive: "522 756"
  209. *PaperDimension A4: "595 842"
  210. *PaperDimension B5: "516 728"
  211. *PaperDimension Envelope.297.684/Comm #10 Envelope: "297 684"
  212. *PaperDimension Envelope.279.540/Monarch Envelope: "279 540"
  213. *PaperDimension Envelope.312.624/DL Envelope: "312 624"
  214. *PaperDimension Envelope.459.649/C5 Envelope: "459 649"
  215.  
  216. *DefaultInputSlot: None
  217. *InputSlot Upper: "statusdict begin 0 setpapertray end"
  218. *InputSlot Lower: "statusdict begin 1 setpapertray end"
  219. *InputSlot Envelope: "statusdict begin 2 setpapertray end"
  220. *?InputSlot: "
  221.  save statusdict begin
  222.   3 dict begin
  223.    /0 (Upper) def
  224.    /1 (Lower) def
  225.    /2 (Envelope) def
  226.    papertray 
  227.      {( ) cvs cvn load exec} stopped not{= flush}if
  228.   end
  229.  end restore
  230. "
  231. *End
  232.  
  233. *DefaultManualFeed: False
  234. *?ManualFeed: "
  235. save
  236.   statusdict /manualfeed get
  237.   {(True)}{(False)}ifelse = flush
  238. restore"
  239. *End
  240. *ManualFeed True: "statusdict begin /manualfeed true store end"
  241. *ManualFeed False: "statusdict begin /manualfeed false store end"
  242.  
  243. *DefaultOutputOrder: Normal
  244. *DefaultOutputBin: Upper
  245.  
  246. *DefaultCollator: None
  247. *DefaultSorter: None
  248. *DefaultDuplex: False
  249. *?Duplex: "save duplexmode {(True)}{(False)}ifelse == flush restore"
  250. *Duplex True: "statusdict begin true setduplexmode end"
  251. *Duplex False: "statusdict begin false setduplexmode end"
  252.  
  253. *% Font Information =====================
  254.  
  255. *DefaultFont: Courier
  256. *Font AvantGarde-Book: Standard "(001.002)"
  257. *Font AvantGarde-BookOblique: Standard "(001.002)"
  258. *Font AvantGarde-Demi: Standard "(001.003)"
  259. *Font AvantGarde-DemiOblique: Standard "(001.003)"
  260. *Font Bookman-Demi: Standard "(001.001)"
  261. *Font Bookman-DemiItalic: Standard "(001.001)"
  262. *Font Bookman-Light: Standard "(001.001)"
  263. *Font Bookman-LightItalic: Standard "(001.001)"
  264. *Font Courier: Standard "(002.002)"
  265. *Font Courier-Bold: Standard "(002.002)"
  266. *Font Courier-BoldOblique: Standard "(002.002)"
  267. *Font Courier-Oblique: Standard "(002.002)"
  268. *Font Helvetica: Standard "(001.002)"
  269. *Font Helvetica-Bold: Standard "(001.002)"
  270. *Font Helvetica-BoldOblique: Standard "(001.002)"
  271. *Font Helvetica-Narrow: Standard "(001.002)"
  272. *Font Helvetica-Narrow-Bold: Standard "(001.002)"
  273. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)"
  274. *Font Helvetica-Narrow-Oblique: Standard "(001.002)"
  275. *Font Helvetica-Oblique: Standard "(001.002)"
  276. *Font NewCenturySchlbk-Bold: Standard "(001.006)"
  277. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)"
  278. *Font NewCenturySchlbk-Italic: Standard "(001.003)"
  279. *Font NewCenturySchlbk-Roman: Standard "(001.004)"
  280. *Font Palatino-Bold: Standard "(001.002)"
  281. *Font Palatino-BoldItalic: Standard "(001.002)"
  282. *Font Palatino-Italic: Standard "(001.002)"
  283. *Font Palatino-Roman: Standard "(001.001)"
  284. *Font Symbol: Special "(001.003)"
  285. *Font Times-Bold: Standard "(001.002)"
  286. *Font Times-BoldItalic: Standard "(001.004)"
  287. *Font Times-Italic: Standard "(001.002)"
  288. *Font Times-Roman: Standard "(001.002)"
  289. *Font ZapfChancery-MediumItalic: Standard "(001.003)"
  290. *Font ZapfDingbats: Special "(001.002)"
  291.  
  292. *?FontQuery: "
  293. save  2 dict begin /sv exch def
  294. /str 128 string def
  295. {
  296.   count 0 gt {
  297.     dup str cvs (/) print print (:) print
  298.     FontDirectory exch known {(Yes)}{(No)}ifelse = flush
  299.   }{ exit } ifelse
  300. } bind loop
  301. (*) = flush
  302. sv end restore
  303. "
  304. *End
  305.  
  306. *?FontList: "
  307. save  2 dict begin /sv exch def
  308. /str 128 string def
  309. FontDirectory { pop == } bind forall flush
  310. (*) = flush
  311. sv end restore
  312. "
  313. *End
  314.  
  315.  
  316. *% Printer Messages (verbatim from printer):
  317. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  318. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  319. *Message: "\FontName\ not found, using Courier"
  320.  
  321.  
  322. *% Status (format: %%[ status: <one of these> ]%% )
  323. *Status: "idle"
  324. *Status: "busy"
  325. *Status: "waiting"
  326. *Status: "printing"
  327. *Status: "PrinterError: Out Of Paper"
  328. *Status: "PrinterError: Cover Open"
  329. *Status: "PrinterError: Feed Manual"
  330. *Status: "PrinterError: Paper Jam"
  331. *Status: "PrinterError: Miscellaneous Error"
  332. *Status: "PrinterError: Fatal Error"
  333.  
  334.  
  335. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  336. *Source: "serial9"
  337. *Source: "serial25"
  338. *Source: "AppleTalk"
  339. *Source: "Centronics"
  340.  
  341.  
  342. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  343. *PrinterError: "Out Of Paper"
  344. *PrinterError: "Cover Open"
  345. *PrinterError: "Feed Manual"
  346. *PrinterError: "Paper Jam"
  347. *PrinterError: "Miscellaneous Error"
  348. *PrinterError: "Fatal Error"
  349.  
  350. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  351.  
  352. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  353.  
  354. *InkName: ProcessBlack/Process Black
  355. *InkName: CustomColor/Custom Color
  356. *InkName: ProcessCyan/Process Cyan
  357. *InkName: ProcessMagenta/Process Magenta
  358. *InkName: ProcessYellow/Process Yellow
  359.  
  360. *%  For 60 lpi / 300 dpi  ===============================
  361.  
  362. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  363. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  364. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  365. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  366. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  367.  
  368. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  369. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  370. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  371. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  372. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  373.  
  374. *%  For 53 lpi / 300 dpi  ===============================
  375.  
  376. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  377. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  378. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  379. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  380. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  381.  
  382. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  383. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  384. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  385. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  386. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  387.  
  388. *% end of PPD file for HP LaserJet IID
  389.